/**
 * Copyright 2020 OPSLI 快速开发平台 https://www.opsli.com
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */
package org.opsli.api.wrapper.ykfire.ykrecord;

import java.math.BigDecimal;
import java.util.Date;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.opsli.api.base.warpper.ApiWrapper;
import org.opsli.common.annotation.validator.Validator;
import org.opsli.common.annotation.validator.ValidatorLenMax;
import org.opsli.common.annotation.validator.ValidatorLenMin;
import org.opsli.common.enums.ValidatorType;
import org.opsli.plugins.excel.annotation.ExcelInfo;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

/**
* ykrecord Model
*
* @author cy
* @date 2021-06-01 23:47:24
*/
@Data
@EqualsAndHashCode(callSuper = false)
public class YkrecordModel extends ApiWrapper {

    /** 检查表id */
    @ApiModelProperty(value = "检查表id")
    @ExcelProperty(value = "检查表id", order = 1)
    @ExcelInfo
    @ValidatorLenMax(19)
    private String formId;

    /** 表类型（a高层建筑, b公共聚集，c企业专项） */
    @ApiModelProperty(value = "表类型（a高层建筑, b公共聚集，c企业专项）")
    @ExcelProperty(value = "表类型（a高层建筑, b公共聚集，c企业专项）", order = 2)
    @ExcelInfo
    @ValidatorLenMax(10)
    private String formType;

    /** 检查员id */
    @ApiModelProperty(value = "检查员id")
    @ExcelProperty(value = "检查员id", order = 3)
    @ExcelInfo
    @ValidatorLenMax(19)
    private String inspectorId;

    /** 检查员姓名 */
    @ApiModelProperty(value = "检查员姓名")
    @ExcelProperty(value = "检查员姓名", order = 4)
    @ExcelInfo
    @ValidatorLenMax(255)
    private String inspectorName;

    /** 参谋长Id */
    @ApiModelProperty(value = "参谋长Id")
    @ExcelProperty(value = "参谋长Id", order = 5)
    @ExcelInfo
    @Validator({
        ValidatorType.IS_NOT_NULL
    })
    @ValidatorLenMax(19)
    private String adviserId;

    /** 参谋长姓名 */
    @ApiModelProperty(value = "参谋长姓名")
    @ExcelProperty(value = "参谋长姓名", order = 6)
    @ExcelInfo
    @ValidatorLenMax(255)
    private String adviserName;

    /** 企业id */
    @ApiModelProperty(value = "企业id")
    @ExcelProperty(value = "企业id", order = 7)
    @ExcelInfo
    @ValidatorLenMax(19)
    private String companyId;

    /** 企业名称 */
    @ApiModelProperty(value = "企业名称")
    @ExcelProperty(value = "企业名称", order = 8)
    @ExcelInfo
    @ValidatorLenMax(255)
    private String companyName;

    /** 区域id */
    @ApiModelProperty(value = "区域id")
    @ExcelProperty(value = "区域id", order = 9)
    @ExcelInfo
    @ValidatorLenMax(19)
    private String areaId;

    /** 问题所在 */
    @ApiModelProperty(value = "问题所在")
    @ExcelProperty(value = "问题所在", order = 10)
    @ExcelInfo
    @ValidatorLenMax(255)
    private String problem;



}
